package com.rec.smile.rpc.provider.service.impl;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.rec.smile.rpc.api.RpcService;
import com.rec.smile.rpc.api.service.HelloWorldService;

@RpcService(HelloWorldService.class)
public class HelloWorldServiceImpl implements HelloWorldService{

	@Override
	public String helloWorld(String name) {
		return "welcome "+ name+", at:"+ new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());
	}

}
